<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>宠物列表</title>
</head>
<body>
<div align="center">
    <h2>宠物列表</h2>
    <table border="1" align="center" width="60%">
        <thead>
        <tr>
            <th>宠物编号</th>
            <th>宠物昵称</th>
            <th>健康值</th>
            <th>亲密度</th>
            <th>宠物品种</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach var="dog" items="">
            <tr>
                <td>${dog.id}</td>
                <td>${dog.name}</td>
                <td>${dog.health}</td>
                <td>${dog.love}</td>
                <td>${dog.strain}</td>
                <td>
                    <button>详情</button>
                    <button>修改</button>
                    <button>删除</button>
                </td>
            </tr>
        </c:forEach>
        </tbody>
    </table>
</div>
</body>
</html>